﻿using System.Collections.Generic;
using BL.Model;
using BL.Model.Request;
using DAL.Model;

namespace BL
{
    public interface ICustomerController : ITransactionController
    {
        /// <summary>
        /// Search customer
        /// </summary>
        /// <param name="request"></param>
        /// <returns>List of customers</returns>
        /// <history>
        /// 12/07/2014 phat.vo: Create new
        /// </history>
        List<Customer> Search(SearchingRequest request);

        /// <summary>
        /// Search customer with default request. 
        /// Search only first page with default record
        /// </summary>
        /// <param name="keyword"></param>
        /// <returns>List of customers</returns>
        /// <history>
        /// 12/07/2014 phat.vo: Create new
        /// </history>
        List<Customer> Search(string keyword);
    }
}
